package com.tomshushu.doc.freedoc.modular.directory.model.result;

import lombok.Data;

import java.util.List;

/**
 * @description:
 * @author: zhouhong
 * @date: 2025-06-23 12:27
 * @version: 1.0
 */
@Data
public class GetChildDirectoryListResult {

    private List<ChildDirectory> childDirectoryList;
    private List<ChildDocument> childDocumentList;

    @Data
    public static class ChildDocument {
        private String docId;
        private String docTitle;
    }

    @Data
    public static class ChildDirectory {
        private String id;
        private String name;
        private String pid;
        boolean hasChild;
    }
}
